package com.zhf.factory;

import com.zhf.dao.AdministratorDao;
import com.zhf.dao.AdministratorDaoImp;

/**
 * @Author: ZhaoHuanfeng
 * @Date: 2020/10/16 23:34
 */
public class AdministratorDaoFactory {

    /**
     * 工厂模式生成AdministratorDao对象
     * @return
     */
    public static AdministratorDao getAdminDao(){
        return new AdministratorDaoImp();
    }
}
